memory: polish populate_physmap()
authorJan Beulich <jbeulich@suse.com>
Wed, 23 Sep 2015 09:12:24 +0000 (11:12 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 23 Sep 2015 09:12:24 +0000 (11:12 +0200)
commitc4b6bbe2240f5d3b22245bee9f4ceb3698e78ef9
tree05a2770d698432094a2e8f397d6c1f7641c9fe91
parent6a2f81459e1455d65a9a6f78dd2a0d0278619680
memory: polish populate_physmap()

Adjust types, avoid a NULL check for a case where it's not needed, and
simplify setting a variable on the alternative path.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/common/memory.c